package org.cms.dao;

import javax.ejb.Local;
import java.util.List;

/**
 * Created by elnoa on 29/10/14.
 */
@Local
public interface IDao<E,K> {

    public <E> void persist(E entity);
    public <E> void remove(E entity);
    public <E> void merge(E entity);
    public <E> void mergeList(List<E> entity);
    public <E, K> E findById(K id);

}
